# Tanım: Güçlü bir tescilli tarama aracı
# URL: http://www.hamrick.com/
# Paketçi: Cihan_Alkan 
# Gerekler: gtk2 xorg-libsm libusb-compat

isim=vuescan
surum=9.6
devir=1
_srcname=VueScan

kaynak=(http://www.hamrick.com/files/vuex6496.tgz
        vuescan.sh)

derle() {
#Başlatıcı
mkdir -pv ${PKG}/usr/share/applications &&
cat > ${PKG}/usr/share/applications/$isim.desktop << "EOF" &&
#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=VueScan
Comment=Güçlü bir tescilli tarama aracı
Categories=Application;Graphics;
Terminal=false
Icon=scanner
Exec=vuescan
EOF

  cd "$SRC"
  install -dm755 "$PKG/opt/$isim"
  cp -rp "$_srcname"/* "$PKG/opt/$isim/"
  install -Dm755 "$SRC/$isim.sh" "$PKG/usr/bin/$isim"

}
